import { ref } from 'vue'


export const defaultNodeGroupTypes = ref([
  {
    id: 'network',
    name: '网络类型',
    isDefault: true,
    types: [
      {
        id: 'server',
        label: '服务器',
        shape: 'image',
        image: '/src/assets/icons/nodes/fuwuqi.svg'
      },
      {
        id: 'firewall',
        label: '防火墙',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'database',
        label: '数据库',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'database',
        label: '数据库',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'database',
        label: '数据库',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      }
    ]
  }
])

export const extendNodeGroupTypes = ref({
  basicShapes: {
    name: '基础形状',
    types: [
      {
        id: 'circle',
        label: '圆形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'square',
        label: '方形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'triangle',
        label: '三角形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      }
    ]
  },
  basicShapes2: {
    name: '基础形状2',
    types: [
      {
        id: 'circle',
        label: '圆形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'square',
        label: '方形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      },
      {
        id: 'triangle',
        label: '三角形',
        shape: 'image',
        image: '/src/assets/icons/nodes/fanghuoqiang.svg'
      }
    ]
  }
})
